<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      function a1(arr) {
        var b1 = [];
        for (var i = arr.length - 1; i >= 0; i--) {
          b1[b1.length] = arr[i];
        }
        console.log(b1);
      }
      a1([13, 545, 565, 86]);
    </script>
  </body>
</html>
